package com.yuyou.fn.educational.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 在线测评
 *
 */
@TableName(value = "online_test")
public class OnlineTest implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<OnlineTest> createExample(){
		return new Example<OnlineTest>(OnlineTest.class);
	}

	/**  */
	@TableId(value = "online_test_id")
	private Long onlineTestId;

	/**  */
	@TableField(value = "campus_id")
	private Long campusId;

	/**  */
	@TableField(value = "campus_name")
	private String campusName;

	/**  */
	@TableField(value = "grade_id")
	private Long gradeId;

	/**  */
	@TableField(value = "grade_name")
	private String gradeName;

	/**  */
	@TableField(value = "subject_id")
	private Long subjectId;

	/**  */
	@TableField(value = "subject_name")
	private String subjectName;

	/**  */
	@TableField(value = "student_id")
	private Long studentId;

	@TableField("measurement_id")
	private Long measurementId ;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField("available_exam_paper_ids")
	private String availableExamPaperIds ;

	/** 文理标记 0:不分 1:文科 2:理科  */
	@TableField(value = "as_flag")
	private Integer asFlag ;

	/** 是否通过 0:未通过 1:已通过 */
	@TableField(value = "is_pass")
	private Integer isPass ;

	/** 外部成绩类型 0:无 1:中考成绩 2:学业诊断名次 */
	@TableField(value = "external_score_type")
	private Integer externalScoreType ;

	/** 外部成绩  */
	@TableField(value = "external_score")
	private Double externalScore;

	/** 外部成绩更新时间 */
	@TableField(value = "external_score_update_time")
	private Date externalScoreUpdateTime;

	public Integer getIsPass() {
		return isPass;
	}

	public void setIsPass(Integer isPass) {
		this.isPass = isPass;
	}

	public Integer getExternalScoreType() {
		return externalScoreType;
	}

	public void setExternalScoreType(Integer externalScoreType) {
		this.externalScoreType = externalScoreType;
	}

	public Double getExternalScore() {
		return externalScore;
	}

	public void setExternalScore(Double externalScore) {
		this.externalScore = externalScore;
	}

	public Date getExternalScoreUpdateTime() {
		return externalScoreUpdateTime;
	}

	public void setExternalScoreUpdateTime(Date externalScoreUpdateTime) {
		this.externalScoreUpdateTime = externalScoreUpdateTime;
	}

	public Integer getAsFlag() {
		return asFlag;
	}

	public void setAsFlag(Integer asFlag) {
		this.asFlag = asFlag;
	}

	public Long getOnlineTestId() {
		return this.onlineTestId;
	}

	public void setOnlineTestId(Long onlineTestId) {
		this.onlineTestId = onlineTestId;
	}

	public Long getCampusId() {
		return this.campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return this.campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public Long getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getGradeName() {
		return this.gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public Long getSubjectId() {
		return this.subjectId;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public String getSubjectName() {
		return this.subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getMeasurementId() {
		return measurementId;
	}

	public void setMeasurementId(Long measurementId) {
		this.measurementId = measurementId;
	}

	public String getAvailableExamPaperIds() {
		return availableExamPaperIds;
	}

	public void setAvailableExamPaperIds(String availableExamPaperIds) {
		this.availableExamPaperIds = availableExamPaperIds;
	}
}
